﻿@model IEnumerable<BLL.CongNo>
@{
    ViewBag.Title = "Quản Lý Nợ Công";    
}

<div class="conten_title">
    <div class="row">
        <div class="col-md-4">
            <div class="col-md-2">
                <img src="~/Images/icon-48-module.png" />
            </div>
            <div class="col-md-10">
                <h4>Quản Lý Nợ Công</h4>
            </div>

        </div>
        <div class="col-md-7">

            <div class="col-md-4">

            </div>
            <!-- end --->
            <div class="col-md-8 conten_title_right ">

                <a href="/QLCongNo/Index">
                    <img style="width:32px;" src="" />

                    <br />
                    back
                </a>
                <a href="/QLCongNo/Index">
                   
                    
                     <img style="width:32px;"  src="" />
                    <br />
                    Export
                </a>
                <a href="/QLCongNo/Index">
                    <img  style="width:32px;"  src="" />
                    <br />
                    Export
                </a>
                <a href="#">
                    <span class="icon-32-trash"></span>
                    Delete
                </a>
                <a href="/QLCongNo/Add">
                    <span class="icon-32-new"></span>
                    new
                </a>


            </div>

        </div>
    </div>



</div>
<!-- End conten_title-->

<div class="content_table">
    <table cellpadding="1" cellspacing="1" border="1" class="table table-hover">
        <tr class="table_title">
            <th class="text-center"></th>
            <th class="text-center">Tên sản phẩm</th>
            <th class="text-center">Tên xe</th>
            <th class="text-center">Số lượng</th>
            <th class="text-center">Thành tiền</th>
            <th class="text-center">Thanh Toán</th>
            <th class="text-center">Còn lại</th>
            <th class="text-center">Còn nợ</th> 
            <th class="text-center">Thưởng</th>
            <th class="text-center">Ngày</th>           
            <th class="text-center">Ghi Chú</th>
            <th class="text-center">Delete | Edit</th>
        </tr>
        @foreach (var a in Model)
        {
            <tr>
                <td class="text-center"><input type="checkbox" name="vehicle" value="Bike"></td>
                <td class="text-center">@a.SanPham.TenSP</td>
                <td class="text-center">@a.SoXe.TenSX</td>
                <td class="text-center">@a.SoLuong</td>
                <td class="text-center">@a.ThanhTien</td>
                <td class="text-center">@a.ThanhToan</td>
                <td class="text-center">@a.ConLai</td>
                <td class="text-center">@a.No</td>
                <td class="text-center">@a.Thuong</td>
                <td class="text-center">@a.Ngay</td>
                <td class="text-center">@a.GhiChu</td>
                <td class="text-center">
                    <a onclick="return confirm('ban có muốn xóa tên' + '&nbsp;' + '@a.SanPham.TenSP')" href="/QLCongNo/Delete/@a.MaCN">
                        <img src="~/Images/delete.png" style="width: 20px; height: 20px" />
                    </a>
                    |
                    <a href="/QLCongNo/Edit/@a.MaCN">
                        <img src="~/Images/edit.png" style="width: 20px; height: 20px" />
                    </a>
                </td>
            </tr>
        }
       
        

    </table>
</div>


